Skip to main content

JSON API for services and metadata

We have been moving the majority of our services from formats like XML, OAI and other to the more modern JSONP format and method of client/server interaction .

As we do not have unlimited resources behind our services, we request that users try to cache results where they can for the more high traffic and popular installations/uses. 8-)

Most services share the standard web practice of returning JSON via adding CGI parameter: and can be used directly in an offsite javascript webpage by adding a callback parameter:

We provide the following services in JSON output:
Search Results:
You can use this form to setup a query to our search engine. You may pick what kinds of information you would like returned, how the results should be sorted, and how many results to return. Example query.
An Individual Item's extended Metadata:
Our "/details/" pages that we show for every item on our site use their metadata on the back-end to make the HTML displayed in your browser. You can make any item's details page output JSON by switching "/details/" to "/metadata/".
Example item's metadata in JSON
Top Level Page:
You can access much of the displayed information on the main page by changing its output mode to use JSON.
User Favorites / Bookmarks:
You can show your own favorites or those of another user.

Putting it all together -- an example

You can string multiple JSON requests to services to make a very complete version or "view" of our site anywhere on the web!
Example HTML:
<html> <head> <script src=""></script> <script src=""></script> <script src="*&fl[]=identifier,title,mediatype,collection&rows=15&output=json&callback=IAE.search_hits"></script> <script src=""></script> </head> <body onload="IAE.drawit()"> </body> </html>
You can see it shown here. It uses this javascript to draw the page from the JSON results.